<template>
	<view class="price">
		<text>￥</text>
		<slot></slot>
	</view>
</template>

<script>
	export default {
		name: "p-price",
		data() {
			return {

			};
		}
	}
</script>
<style scoped>
	.price {
		color: #f60;
		font-weight: 900;
		font-size: 30rpx;
	}

	.price text {
		font-size: 20rpx;
		font-weight: 100;
	}

	.old {
		color: #999;
		font-weight: 100;
		font-size: 20rpx;
		text-decoration: line-through;
	}
</style>
